package com.bt7274.pojo;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 管理员表
 * </p>
 *
 * @author hp
 * @since 2025-03-25
 */
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 管理员名称
     */
    private String username;

    /**
     * 登陆密码
     */
    private String password;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    @Override
    public String toString() {
        return "Admin{" +
        "id = " + id +
        ", username = " + username +
        ", password = " + password +
        ", createdTime = " + createdTime +
        "}";
    }
}
